
<!DOCTYPE html>
<html>

<head>
  <meta charset="UTF-8">
  <title>Auto.js</title>
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <meta name="description" content="Description">
  <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  <link rel="prefetch" href="./s/zhifubao.jpg">
  <link rel="prefetch" href="./s/gongjiao.jpg">
  <link rel="prefetch" href="./s/Autoapk.png">
  <style>
  body,div,ul{ padding:0; margin:0; font-family:"Microsoft YaHei";color: #34495e;}
  #app{
    background:linear-gradient(to left bottom, hsl(115, 100%, 85%) 0%,hsl(155, 100%, 85%) 100%);
    height:100%;width:100%;
    position: absolute;
    top: 0px;
    flex: 1;
    display:flex ;
    align-items: center;
  }
  #app ul{flex: 1;}
  #autojs{font-size: 2.5rem;
    color: #34495e;}
  #root{font-size: 1.5rem;}
  #list a,.friend a{
    border: 1px solid #42b983;
    border-radius: 2rem;
    box-sizing: border-box;
    color: #42b983;
    display: inline-block;
    font-size: 1.05rem;
    letter-spacing: .1rem;
    margin: .5rem 0.75rem;
    padding: .75em 1.75rem;
    text-decoration: none;
    transition: all .15s ease;
  }
  #list a:hover,#list a:last-child:hover{ color:#34495e;}

  #list a:last-child{
  background-color: #42b983;
  color: #fff;
  }
  .layui-layer-molv p{ text-align: left}
  .layui-layer-molv a{ font-size: 1.2rem; color: #000;}

  </style>
</head>
<body>
  <div id="app" align="center">
    <ul>
      <p id="AutoJslogo"></p>
      <p id="autojs">Auto.js</p>
      <p id="root"><b>不需要Root</b>的JavaScript自动化软件</p>
      
      <p id="list">
        <!-- <a href="javascript:;" onclick="answer()">你问我答</a> -->
        <a href="javascript:;" onclick="downs()">软件下载</a>
        <a href="https://hyb1996.github.io/AutoJs-Docs/#/?id=%e7%bb%bc%e8%bf%b0" target="_blank">AUTOJS官网文档</a>
      </p>
      <p style="font-size:1rem" >付费问答，1元一个<br>只解答文档问题和JS问题不管开发<br>QQ:1005276293</p>
      <p >友情赞助：</p>
      <p class="friend">
          <a href="http://nav.qianlimu.net/" target="_blank">前端资源导航</a>

          <a href="javascript:;" onclick="zhifubao('zhifubao.jpg')">支付宝线下扫码得红包</a>
          <a href="javascript:;" onclick="zhifubao('gongjiao.jpg')">支付宝公交扫码得红包</a>
       </p>
   
    </ul>
  </div>
  <div id="fix"></div>
</body>
</html>
<script src="https://cdn.bootcss.com/jquery/2.2.2/jquery.slim.min.js"></script>
<script src="./layer/layer.js"></script>
<script type="text/template" id="thehtml">
<div style=" padding-left:2rem">
  <p >扫码下载：</p>
  <p ><a href='http://xv700.gitee.io/autohtml/s/Auto.js_V4.0.1Beta.apk' target='_blank'><img src='./s/Autoapk.png' width='131' ></a></p>
  <p><a href='http://xv700.gitee.io/autohtml/s/Auto.js_V4.0.1Beta.apk' target='_blank'>直接点击下载Auto.js_V4.0.1Beta.apk</a></p>
  <br>
  <p >其他下载：</p>
  <p><a href='https://cdn.npm.taobao.org/dist/node/v12.13.0/node-v12.13.0-win-x64.zip' target='_blank'>nodejs_12.13.0</a></p>
  <p><a href='https://vscode.cdn.azure.cn/stable/6ab598523be7a800d7f3eb4d92d7ab9a66069390/VSCode-win32-x64-1.39.2.zip' target='_blank'>vscode_1.39.2_64位系统</a></p>
  <p><a href='https://a11.gdl.netease.com/MuMuInstaller_1.1.0.2_nochannel_zh-Hans_1558626115.exe' target='_blank'>mumu模拟器</a></p>
</div>
</script>
<script >
var w600=window.screen.availWidth<600;//判断是否为手机


var AutoJslogo=$("#AutoJslogo");
var AutoJslogoimg=$("<img>");
setTimeout(()=>{
  AutoJslogoimg.attr({"src":"https://hyb1996.github.io/AutoJs-Docs/images/logo.png","alt":"AutoJs","title":"AutoJs%"});
  AutoJslogo.html(AutoJslogoimg)
},444)

layer.config({
  skin: 'layui-layer-molv' ,
  shadeClose :true
});

function answer(){
  layer.alert(" QQ:1005276293，一块一个问题，先解答后收费")
}

// var divfordown=$("<div></div>")
// divfordown.html(divfordown.html()+"<p><a href='https://cdn.npm.taobao.org/dist/node/v12.13.0/node-v12.13.0-win-x64.zip' target='_blank'>nodejs_12.13.0</a></p>");
// divfordown.html(divfordown.html()+"<p><a href='https://vscode.cdn.azure.cn/stable/6ab598523be7a800d7f3eb4d92d7ab9a66069390/VSCode-win32-x64-1.39.2.zip' target='_blank'>vscode_1.39.2</a></p>");
// divfordown.html(divfordown.html()+"<p><a href='https://a11.gdl.netease.com/MuMuInstaller_1.1.0.2_nochannel_zh-Hans_1558626115.exe' target='_blank'>mumu模拟器</a></p>");
// divfordown.html(divfordown.html()+"<div id='img'><p ><img src='./s/Autoapk.png' width='131' ></p><p><a href='http://xv700.gitee.io/autohtml/s/Auto.js_V4.0.1Beta.apk' target='_blank'>直接点击下载Auto.js_V4.0.1Beta.apk</a></p></div>");

function downs(){
  layer.open({
    title:"软件点击下载",
    type: 1,
    anim: 2,
    offset: 'rb',
    area: [w600?'100%':'444px', '100%'], //宽高
    content:$("#thehtml").html()
  });
}

function zhifubao(jpg){
  var img=$("<img>");
  img.attr({"src":"./s/"+jpg,"width":"100%"});
  layer.open({
    title:"扫码红包",
    type: 1,
    area: [w600?'100%':'444px',"600px"], //宽高
    content:img.prop("outerHTML")
  });
}


// layer.open({
//   type: 1,
//   shade: false,
//   title: false,
//   closeBtn: 0,
//   offset: 'rb',
//   area: ['262px', '131px'],
//   content: "付费问答，1元一个<br>只解答文档问题和JS问题不管开发<br>QQ:1005276293",
// });
</script>
<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? "https://" : "http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1278157240'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "v1.cnzz.com/stat.php%3Fid%3D1278157240%26show%3Dpic1' type='text/javascript'%3E%3C/script%3E"));</script>
